package com.arpa.ntocc.common.mapper;

import com.arpa.ntocc.common.domain.dto.ResourceColDTO;
import com.arpa.ntocc.common.domain.entity.ResourceCol;
import com.arpa.ntocc.common.domain.vo.ResourceColVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单列表字段 Mapper 接口
 * </p>
 *
 * @author liuyj
 * @since 2019-11-25
 */
public interface ResourceColMapper extends BaseMapper<ResourceCol> {

    /**
     * 查询列表
     * @param resourceColDTO
     * @return
     */
    List<ResourceColVO> queryList(ResourceColDTO resourceColDTO);

    /**
     * 查询合计,包含总数
     * @param resourceColDTO
     * @return
     */
    ResourceColVO queryListSum(ResourceColDTO resourceColDTO);
}
